random access buffered iterator, natural number
Source: /avail/Avail/Data Abstractions/Iterators/Random Access Buffered Iterators
Categories: Data Abstractions, Iterators
Set the current position of the random access buffered iterator.
| Position | Name | Type | Description | |
|---|---|---|---|---|
| Parameters | ||||
| 1 | anIterator | random access buffered iterator | A random access buffered iterator. | |
| 2 | position | natural number | A position memento that represents a valid position. | |
| Returns | ⊤ | Raises | ||
| invalid-position exception | If position is not a valid memento. | |||
positionable iterator, any
Source: /avail/Avail/Data Abstractions/Iterators/Positionable Iterators
Categories: Data Abstractions, Iterators
Set the current position of the positionable iterator.
| Position | Name | Type | Description | |
|---|---|---|---|---|
| Parameters | ||||
| 1 | anIterator | positionable iterator | A positionable iterator. | |
| 2 | position | any | A position memento that represents a valid position. | |
| Returns | ⊤ | Raises | ||
| invalid-position exception | If position is not a valid memento. | |||